package com.lry.basic.spring.ioc.test;

import com.lry.basic.spring.ioc.anno.Autowired;
import com.lry.basic.spring.ioc.anno.Component;
import com.lry.basic.spring.ioc.anno.Value;

/**
 * @author:刘仁有
 * @desc:
 * @email:953506233@qq.com
 * @data:2019/11/16
 */
//@Component("cBean")
public class CBean {
    @Value("12")
    private short age;

    @Value("lrrrryyy")
    private String name;

    @Autowired
    private ABean aBean;

    public int doSth(){
        System.out.println("do");
        return 1;
    }

}
